package top.lushi78778.iot.mqtt.configurer;

/**
 * @ClassName MqttConfigurer
 * @Description mqtt配置信息
 * @Author lushi
 * @Date 2021/7/12 17:53
 */
public class MqttConfigurer {
    private static final long serialVersionUID = 419717756713669321L;

    /**
     * 实例 ID
     */
    private static final String instanceid = "post-cn-XXXXXXXXXXX";
    /**
     * 接入点地址
     */
    private static final String endpoint = "onsmqtt.mq-internet-access.aliyuncs.com";
    /**
     * 地域ID
     */
    private static final String mqttregionid = "mq-internet-access";
    /**
     * AccessKey ID
     */
    private static final String accesskey = "XXXXXXXXXXX";
    /**
     * secretKey
     */
    private static final String secretkey = "XXXXXXXXXXX";
    /**
     * 由业务系统分配
     */
    private String clientid;
    /**
     * 消息的一级 topic
     */
    private static final String parenttopic = "XXXXXXXXXXX";
    /**
     * 子级 topic
     */
    private String sontopic;
    /**
     * 传输质量，可选0，1，2
     */
    private static final Integer qoslevel = 1;

    private String backup;


    public String getInstanceid() {
        return instanceid;
    }


    public String getEndpoint() {
        return endpoint;
    }

    public String getMqttregionid(){
        return  mqttregionid;
    }


    public String getAccesskey() {
        return accesskey;
    }


    public String getSecretkey() {
        return secretkey;
    }


    public String getClientid() {
        return clientid;
    }

    public void setClientid(String clientid){
        this.clientid = clientid;
    }

    public String getParenttopic() {
        return parenttopic;
    }


    public String getSontopic() {
        return sontopic;
    }

    public void setSontopic(String sontopic) {
        this.sontopic = sontopic;
    }

    public Integer getQoslevel() {
        return qoslevel;
    }


    public String getBackup() {
        return backup;
    }

    public void setBackup(String backup) {
        this.backup = backup;
    }

}
